Maps for Boston University

Determines the appropriate longitude/latitude coordinate for the boston university.

geocode("boston university")
##         lon      lat
## 1 -71.10477 42.33399

Get_map provides the same spatial extent for Google Maps (top) and OpenStreetMaps (bottom) with a single simple syntax, even though their APIs are quite different.

Stamen tile sets maptype = “watercolor” and maptype = “toner”.

Create Leaflet maps for Boston University.

Maps for Boston

Setting extent = “normal” in ggmap illustrates how maps in ggmap are simply ggplot2 graphics.

Accessing Google Maps API features with get_googlemap.

##         lon      lat
## 1 -71.05977 42.35843